package be.ipl.finito.servlets;

import java.io.IOException;

import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import be.ipl.finito.domaine.Joueur;
import be.ipl.finito.usecases.GestionJoueur;

/**
 * Servlet qui gerer l'attente entre les tours.
 */
@SuppressWarnings("serial")
@WebServlet(name = "attente_tours.html")
public class AttenteTours extends HttpServlet {
	@EJB
	private GestionJoueur gestionJoueur;

	@Override
	protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {



		
		this.getServletContext().getNamedDispatcher("attente_tour.html")
				.forward(request, response);
		return;
	}

	@Override
	protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {

		this.getServletContext().getNamedDispatcher("attente_tour.html")
				.forward(request, response);
		return;
	}
}
